/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package cn.webrx.service;

import cn.webrx.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;


/**
 * <p>Project: spring2021 - UserDao
 * <p>Powered by webrx On 2021-11-02 16:33:10
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
//@Service("userDao")
@Service @Scope("singleton") @Lazy(true)
public class UserDao {
    @Autowired
    private User user;

    public UserDao(){
        System.out.println("new UserDao()");
    }


    public void init(){
        System.out.println("UserDao.init(初始化)");
    }



    public void close(){
        System.out.println("UserDao.close(关闭销毁)");
    }


    public void aa(){
        System.out.println("aa()");
    }


    public void bb(){
        System.out.println("bb()");
    }

}
